package com.rfid.acs.net.bean;


import com.rfid.acs.bean.BookBean;

import java.util.List;

public class ReaderInfoBean {
    /**
     * 读者证号
     */
    private String readerNo;

    /**
     * 读者名字
     */
    private String name;

    boolean success;

    String hintMessage;

    /**
     * 最大可借数，取值范围0000-9999
     */
    private String bookLimit;

    private String bookCount;

    /**
     * 读者欠费金额
     */
    private String arrearage;

    /**
     * 读者押金
     */
    private String pledge;

    /**
     * 读者预付款
     */
    private String advance;

    /**
     * 当前借阅图书
     */
    private List<BookBean> currentBooks;

    /**
     * 当前超期图书
     */
    private List<BookBean> extendedBooks;

    /**
     * 读者类型
     */
    private String readerType;

    /**
     * 地址
     */
    private String address;

    /**
     * 邮箱
     */
    private String email;

    /**
     * 电话
     */
    private String phoneNumber;

    /**
     * 身份证
     */
    private String idCard;

    /**
     * 生日
     */
    private String birth;

    /**
     * 办证日期
     */
    private String createCardDate;

    private boolean verifyReader;

    private boolean verifyPassword;

    /**
     * 证过期日期
     */
    private String extendedDate;

    private List<String> allBookNos;

    private List<BookBean> allBooks;

    public List<BookBean> getAllBooks() {
        return allBooks;
    }

    public void setAllBooks(List<BookBean> allBooks) {
        this.allBooks = allBooks;
    }

    public List<String> getAllBookNos() {
        return allBookNos;
    }

    public void setAllBookNos(List<String> allBookNos) {
        this.allBookNos = allBookNos;
    }

    public String getReaderNo() {
        return readerNo;
    }

    public void setReaderNo(String readerNo) {
        this.readerNo = readerNo;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public boolean isSuccess() {
        return success;
    }

    public String getBookCount() {
        return bookCount;
    }

    public void setBookCount(String bookCount) {
        this.bookCount = bookCount;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getBookLimit() {
        return bookLimit;
    }

    public void setBookLimit(String bookLimit) {
        this.bookLimit = bookLimit;
    }

    public String getArrearage() {
        return arrearage;
    }

    public void setArrearage(String arrearage) {
        this.arrearage = arrearage;
    }

    public String getPledge() {
        return pledge;
    }

    public void setPledge(String pledge) {
        this.pledge = pledge;
    }

    public String getAdvance() {
        return advance;
    }

    public void setAdvance(String advance) {
        this.advance = advance;
    }

    public List<BookBean> getCurrentBooks() {
        return currentBooks;
    }

    public void setCurrentBooks(List<BookBean> currentBooks) {
        this.currentBooks = currentBooks;
    }

    public List<BookBean> getExtendedBooks() {
        return extendedBooks;
    }

    public void setExtendedBooks(List<BookBean> extendedBooks) {
        this.extendedBooks = extendedBooks;
    }

    public String getReaderType() {
        return readerType;
    }

    public void setReaderType(String readerType) {
        this.readerType = readerType;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public String getBirth() {
        return birth;
    }

    public void setBirth(String birth) {
        this.birth = birth;
    }

    public String getCreateCardDate() {
        return createCardDate;
    }

    public void setCreateCardDate(String createCardDate) {
        this.createCardDate = createCardDate;
    }

    public String getExtendedDate() {
        return extendedDate;
    }

    public void setExtendedDate(String extendedDate) {
        this.extendedDate = extendedDate;
    }

    public boolean isVerifyReader() {
        return verifyReader;
    }

    public void setVerifyReader(boolean verifyReader) {
        this.verifyReader = verifyReader;
    }

    public boolean isVerifyPassword() {
        return verifyPassword;
    }

    public void setVerifyPassword(boolean verifyPassword) {
        this.verifyPassword = verifyPassword;
    }

    public String getHintMessage() {
        return hintMessage;
    }

    public void setHintMessage(String hintMessage) {
        this.hintMessage = hintMessage;
    }

    @Override
    public String toString() {
        return "ReaderInfoBean{" +
                "readerNo='" + readerNo + '\'' +
                ", name='" + name + '\'' +
                ", success=" + success +
                ", hintMessage='" + hintMessage + '\'' +
                ", bookLimit='" + bookLimit + '\'' +
                ", bookCount='" + bookCount + '\'' +
                ", arrearage='" + arrearage + '\'' +
                ", pledge='" + pledge + '\'' +
                ", advance='" + advance + '\'' +
                ", currentBooks=" + currentBooks +
                ", extendedBooks=" + extendedBooks +
                ", readerType='" + readerType + '\'' +
                ", address='" + address + '\'' +
                ", email='" + email + '\'' +
                ", phoneNumber='" + phoneNumber + '\'' +
                ", idCard='" + idCard + '\'' +
                ", birth='" + birth + '\'' +
                ", createCardDate='" + createCardDate + '\'' +
                ", verifyReader=" + verifyReader +
                ", verifyPassword=" + verifyPassword +
                ", extendedDate='" + extendedDate + '\'' +
                ", allBookNos=" + allBookNos +
                ", allBooks=" + allBooks +
                '}';
    }
}
